LOCAL_PATH := $(call my-dir)

# Define vars for library that will be build statically.
include $(CLEAR_VARS)
LOCAL_MODULE := licenceLib
LOCAL_C_INCLUDES := licence_lib.h
LOCAL_SRC_FILES :=  licence_lib.c

# Optional compiler flags.
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog

include $(BUILD_STATIC_LIBRARY)

# First lib, which will be built statically.
include $(CLEAR_VARS)
LOCAL_MODULE := jni
LOCAL_STATIC_LIBRARIES := licenceLib
LOCAL_C_INCLUDES := licence_toolActivity.h
LOCAL_SRC_FILES := licence_toolActivity.c

include $(BUILD_SHARED_LIBRARY)